
 var player1 ={
        name: '洛水赋神',
        avatar: 'ui/avatar/12040000_icon',
        huanledouNumber: 45870,
        sex: 0,
};

 var player2 = {
        name: '天罗斗士',
        avatar: 'ui/avatar/10000000_icon',
        huanledouNumber: 13281,
        sex: 1,
};

var player3 =  {
        name: '雪鹰领主',
        avatar: 'ui/avatar/10030000_icon',
        huanledouNumber: 50000,
        sex: 1,
};

var player4 = {
        name: '凛冬之怒',
        avatar: 'ui/avatar/10020000_icon',
        huanledouNumber: 69040,
        sex: 0,
};

var player5 = {
        name: '和光同尘',
        avatar: 'ui/avatar/10010000_icon',
        huanledouNumber: 78303,
        sex: 0,
};

var player6 = {
        name: '沉鱼落雁',
        avatar: 'ui/avatar/10040000_icon',
        huanledouNumber: 68420,
        sex: 0,
};

var player7 = {
        name: '闭月羞花',
        avatar: 'ui/avatar/12000000_icon',
        huanledouNumber: 9987,
        sex: 0,
};

var player8 = {
        name: '水天一色',
        avatar: 'ui/avatar/12010000_icon',
        huanledouNumber: 28300,
        sex: 0,
};

var player9 = {
        name: '倾国倾城',
        avatar: 'ui/avatar/12030000_icon',
        huanledouNumber: 50932,
        sex: 0,
};

var player10 = {
        name: '帅到爆炸',
        avatar: 'ui/avatar/10050000_icon',
        huanledouNumber: 38945,
        sex: 1,
};

var player = [
    player1,player2,player3,player4,player5,player6,player7,player8,player9,player10
] 

var presentPlayer = {
        name: cc.String,
        avatar: '',
        huanledouNumber: '',
        gameID:'',
        //isReady: null,
        isValid: false,
        sex: null,
        douziNum: null,
};

var gamePlayer = {
        jichushu: 1000,                 //欢乐豆底数
        beishu: cc.String,              //翻倍数
        playerSendCard: new Array,      //玩家出的牌
        player2SendCard: new Array,
        player3SendCard: new Array,
        
        addDizhupai: new Array,
        paiArray: new Array,            //总的牌
        dizhupai: new Array,                 //3张地主牌的prefab，
        dizhupaiArr: new Array,         //留给地主的三张牌
        initPai: new Array,             //实例化的牌
        ownerID: null,                  //房主ID
        playerNumber: 0,                //房间玩家数量
        player1ID: null,                //玩家1 ID
        player1IsReady: false,          //玩家1 是否准备
        player1pai: new Array,          //玩家1 的牌
        player1jiaodizhu: false,        //玩家1 是否叫地主
        p1jiaodizhuStatus: 0,           //玩家1 叫地主状态
        player1qiangdizhu: false,       //玩家1 是否抢地主
        player1douziNum: null,
        player2ID: null,
        player2IsReady: false,
        player2pai: new Array,
        player2jiaodizhu: false,
        p2jiaodizhuStatus: 0,
        player2qiangdizhu: false,
        playuer2douziNum: null,
        player3ID: null,
        player3IsReady: false,
        player3pai: new Array,
        player3jiaodizhi: false,
        p3jiaodizhuStatus: 0,
        player3qiangdizhu: false,
        player3douzhiNum: null,
}

/**
 * 
 * 是否叫地主，是否抢地主，地主，下一个，ID，性别,事件
 * [0,0,0,0,0,0,0]
 */
var setDizhuMsg = new Array;

module.exports = {
    player,
    presentPlayer,
    gamePlayer,
    setDizhuMsg,
};